package com.qd.panda.service.space;

/**
 * 〈一句话功能简述〉<br>
 *
 * @author sjk
 * @create 2023-08-14 16:19
 * @since 1.0.0
 */
public class TenantOrderStateUtilService {
    private TenantOrderStateUtilService(){

    }
    public static final int STATE_0 = 0;
    public static final int STATE_1 = 1;
    public static final int STATE_2 = 2;
    public static final int STATE_7 = 7;
    public static final int STATE_8 = 8;
    public static final int STATE_9 = 9;


    public static String idToDisplay(int state) {
        if (state == STATE_0) {
            return "拍下未付款";
        }
        if (state == STATE_1) {
            return "付款成功";
        }
        if (state == STATE_2) {
            return "付款失败";
        }
        if (state == STATE_7) {
            return "申请退款";
        }
        if (state == STATE_8) {
            return "退款成功";
        }
        if (state == STATE_9) {
            return "退款失败";
        }
        return "";
    }
}